package com.liy.cjs.commmons.exception;

/**
 * @Author: liyang
 * @Date: 2020/9/11 10:06
 **/
public class TokenAuthenticationException extends RuntimeException {

    private int code;

    private String message;

    public TokenAuthenticationException() {
        super();
    }

    public TokenAuthenticationException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
